<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>号源管理</title>
    <script type="text/javascript" th:src="@{/static/js/xxx.js}"></script>
 <!--   <link rel="stylesheet" th:href="@{/static/js/bootstrap3/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/static/js/bootstrap3/css/bootstrap-theme.min.css}">-->
    <link rel="stylesheet" type="text/css" href="css/index.css" th:href="@{/css/index.css}">

    <script type="text/javascript" th:src="@{/static/js/bootstrap3/js/jquery-1.11.2.min.js}"></script>
    <script type="text/javascript" th:src="@{/static/js/bootstrap3/js/bootstrap.min.js}"></script>

    <script>
        function select() {
            alert(document.getElementById("select").value)
        }
    </script>

    <script>
        function state() {
            alert(document.getElementById("state").value)
        }
    </script>

    <style>
        .modal-body{
            padding-bottom: 0;
        }
        #statusSelect {
            height: 30px;
            width: 200px;
            padding-top: 5px;
        }
        #yearSelect{
            height: 30px;
            width: 200px;
            padding-top: 5px;
        }
        input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
            -webkit-appearance: none;
        }
        input[type="number"] {
            -moz-appearance: textfield;
        }

    </style>

</head>
<body>
<form th:action="@{/teacher/listPager}" method="post">
    年份：
    <select id="yearSelect" onchange="select()">
        <option>2016年</option>
        <option value="1">2017年</option>
        <option value="2">2018年</option>
        <option value="3">2019年</option>
        <option value="4">2020年</option>
    </select>
    状态：
    <select id="statusSelect" onchange="state()">
        <option>有效</option>
        <option value="1">失效</option>
    </select>

    <input type="submit" class="input_out" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" th:size="10" value="搜索">
</form>

<a th:href="@{/teacher/toEdit}" style="background-color: red"><button style="background-color: red">维护专家号源</button></a>

<table border="1px" width="600px">
    <thead>
    <tr style="background-color: chocolate">
        <td>序号</td>
        <td>出诊日期</td>
        <td>医生姓名</td>
        <td>号别</td>
        <td>状态</td>
        <td>操作</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td th:text="1"></td>
        <td th:text="2020-09-24"></td>
        <td th:text="刘晓东"></td>
        <td th:text="普通号"></td>
        <td th:text="有效"></td>
   <!-- <tr th:each="teacher : ${teachers}">
        <td th:text="${teacher.tid}"></td>
        <td><img style="width: 60px;height: 60px;" id="imgshow" th:src="${teacher.imagePath}" th:alt="${teacher.tname}"/></td>
        &lt;!&ndash;<td th:text="${teacher.imagePath}"></td>&ndash;&gt;
        <td th:text="${teacher.tname}"></td>
        <td th:text="${teacher.sex}"></td>
        <td th:text="${teacher.description}"></td>-->
        <td>
            <a th:href="@{'/teacher/del/'}">删除</a>
            <a th:href="@{'/teacher/toEdit?tid='}">修改</a>
        </td>
    </tr>
    <tr>
        <td th:text="2"></td>
        <td th:text="2020-09-23"></td>
        <td th:text="王伟波"></td>
        <td th:text="专家号"></td>
        <td th:text="失效"></td>
        <td>
            <a th:href="@{'/teacher/del/'}">删除</a>
            <a th:href="@{'/teacher/toEdit?tid='}">修改</a>
        </td>
    </tr>
    <tr>
        <td th:text="3"></td>
        <td th:text="2020-09-25"></td>
        <td th:text="王小波"></td>
        <td th:text="专家号"></td>
        <td th:text="失效"></td>
        <td>
            <a th:href="@{'/teacher/del/'}">删除</a>
            <a th:href="@{'/teacher/toEdit?tid='}">修改</a>
        </td>
    </tr>
    <tr>
        <td th:text="4"></td>
        <td th:text="2020-09-25"></td>
        <td th:text="吴亦凡"></td>
        <td th:text="适宜技术号"></td>
        <td th:text="有效"></td>
        <td>
            <a th:href="@{'/teacher/del/'}">删除</a>
            <a th:href="@{'/teacher/toEdit?tid='}">修改</a>
        </td>
    </tr>
    </tbody>
</table>

<nav>
    <ul class="pagination pagination-sm" th:utext="${pageCode}"></ul>
</nav>
</body>
</html>
